package lab02.test10;

public class ChinaPeople extends People {
    //属性
    String language;
    String color;
    String  height;

    public void setLanguage(String language) {
        this.language = language;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public static void main(String[] args) {
        ChinaPeople A=new ChinaPeople();
        A.language="Chinese";
        A.color="yellow";
        A.height="180cm";
        System.out.println(A.language);
        System.out.println(A.color);
        System.out.println(A.height);
    }
}
